<!--  start product-table ..................................................................................... -->
<form id="mainform" action="">
<table border="0" width="100%" cellpadding="0" cellspacing="0" id="product-table">
<tr>
	<th class="table-header-check"><a id="toggle-all" ></a> </th>
	<th class="table-header-repeat line-left minwidth-1"><a href="">Username</a></th>
	<th class="table-header-repeat line-left minwidth-1"><a href="">Level</a></th>
	<th class="table-header-repeat line-left"><a href="">Aktif</a></th>
	<th class="table-header-options line-left"><a href="">Options</a></th>
</tr>
<?php foreach($users as $user){ ?>
<tr>
	<td><input  type="checkbox"/></td>
	<td><?php echo $user['username'];?></td>
	<td><?php echo ($user['level'] == 1)? "Admin" : "Alumni"; ?></td>
	<td><?php echo ($user['aktif'] == 0)? "<font color=red>Tidak Aktif</font>" : "<font color=blue>Aktif</font>"; ?></td>
	<td class="options-width">
	<a href="<?php echo base_url()."dharmaksatrias/user/edit/".$user['id_user']."/".$user['level'];?>" title="Edit" class="icon-1 info-tooltip"></a>
	<a href="<?php echo base_url()."dharmaksatrias/user/delete/".$user['id_user']."/".$user['level'];?>" title="Delete" class="icon-2 info-tooltip" onclick="return confirm('Apakah anda yakin ?')"></a>
	<?php if($user['aktif'] == NOT_ACTIVE_ACCOUNT){ ?> <a href="<?php echo base_url()."dharmaksatrias/user/activate/".$user['id_user'];?>" title="Aktifasi" class="icon-3 info-tooltip"></a> <?php } ?>
	<!--<a href="" title="Edit" class="icon-4 info-tooltip"></a>
	<a href="" title="Edit" class="icon-5 info-tooltip"></a>-->
	</td>
</tr>
<?php } ?>
</table>
<!--  end product-table................................... --> 
</form>

<!--  start paging..................................................... -->
<table border="0" cellpadding="0" cellspacing="0" id="paging-table">
<tr>
<td>
	<a href="" class="page-far-left"></a>
	<a href="" class="page-left"></a>
	<div id="page-info">Page <strong>1</strong> / 15</div>
	<a href="" class="page-right"></a>
	<a href="" class="page-far-right"></a>
</td>
<td>
<select  class="styledselect_pages">
	<option value="">Number of rows</option>
	<option value="">1</option>
	<option value="">2</option>
	<option value="">3</option>
</select>
</td>
</tr>
</table>
<!--  end paging................ -->

<div class="clear"></div>